package com.example.badyloans.servlet;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.badyloans.pojo.TBankCard;
import com.example.badyloans.dao.TBankCardMapper;
import com.example.badyloans.servlet.TBankCardService;
@Service
public class TBankCardServiceImpl implements TBankCardService{

    @Resource
    private TBankCardMapper tBankCardMapper;

    @Override
    public int deleteByPrimaryKey(String id) {
        return tBankCardMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(TBankCard record) {
        return tBankCardMapper.insertSelective(record);
    }

    @Override
    public TBankCard selectByPrimaryKey(String id) {
        return tBankCardMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TBankCard record) {
        return tBankCardMapper.updateByPrimaryKeySelective(record);
    }

}
